package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.CustomerReservationDto;
import com.zzyl.dto.CustomerReservationPageParamDto;
import com.zzyl.vo.CustomerReservationVo;
import com.zzyl.vo.ReservationTimeVo;

import java.util.List;

public interface CustomerReservationService {
    //查询取消预约次数
    Long getCancellCount(Long userId);

    //查询时间段剩余次数
    List<ReservationTimeVo> getTimeCount(Long time);

    //新增预约
    void add(CustomerReservationDto customerReservationDto, Long userId);

    //分页查询
    PageResponse<CustomerReservationVo> getPage(Integer pageNum,Integer pageSize,Integer status,Long userId);

    //取消预约
    void changeStatusCancel(Long id);
}
